<?php
class Form_SexEdit extends Zend_Form
{
    public function __construct ()
    {
        $this->setName('form_sex_edit');
        parent::__construct();
        $gender = new Zend_Form_Element_Radio('gender');
        $gender->setLabel('Gender:')
            ->addMultiOptions(
        array('0' => 'Male', '1' => 'Female'))
            ->setSeparator('');
        $submit = new Zend_Form_Element_Submit('Change');
        $submit->setLabel('Submit');
        $this->addElements(array($gender, $submit));
    }
}
?>
